package com.example.tests.lesson1.hw1.tests;


import org.testng.annotations.Test;
import com.example.tests.lesson1.hw1.GroupModel;



public class Test_Group_CreateNew extends TestBase {
	
	@Test
	public void testCreateGroupWithValidCredentials() throws Exception {
			goToMainPage();
			navigateToGroupList();
			openNewGroupFormPage();

			GroupModel group = new GroupModel().setFooter("footer1")
					.setName("name1").setHeader("header1");
			
			groupPopulateForm(group);
			submitGroupForm();
			returnToGroupList();
			// TODO assert new group created
		
	}
}
